package com.ruoyi.merchant.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 【请填写功能名称】对象 platform_gps
 * 
 * @author ruoyi
 * @date 2024-09-09
 */
public class PlatformGps extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 名称 */
    @Excel(name = "名称")
    private String plaformName;

    /** 域名 */
    @Excel(name = "域名")
    private String domainName;

    /** gps用户名 */
    @Excel(name = "gps用户名")
    private String userName;

    /** gps密码 */
    @Excel(name = "gps密码")
    private String gpsPassword;

    /** 平台id */
    private Long platformId;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    private String type;

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

    public Long getPlatformId() {
        return platformId;
    }

    public void setPlatformId(Long platformId) {
        this.platformId = platformId;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setPlaformName(String plaformName) 
    {
        this.plaformName = plaformName;
    }

    public String getPlaformName() 
    {
        return plaformName;
    }
    public void setDomainName(String domainName) 
    {
        this.domainName = domainName;
    }

    public String getDomainName() 
    {
        return domainName;
    }
    public void setUserName(String userName) 
    {
        this.userName = userName;
    }

    public String getUserName() 
    {
        return userName;
    }
    public void setGpsPassword(String gpsPassword) 
    {
        this.gpsPassword = gpsPassword;
    }

    public String getGpsPassword() 
    {
        return gpsPassword;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("plaformName", getPlaformName())
            .append("domainName", getDomainName())
            .append("userName", getUserName())
            .append("gpsPassword", getGpsPassword())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("userId", getUserId())
            .toString();
    }
}
